local wu__yinyu = fk.CreateSkill {
  name = "wu__yinyu",
  tags = { Skill.Limited },
}

Fk:loadTranslationTable{
  ["wu__yinyu"] = "隐喻",
  [":wu__yinyu"] = "限定技，出牌阶段，你可以与一名其他角色交换手牌。",
  ["#wu__yinyu"] = "隐喻：选择一名其他角色与其交换手牌",
}

wu__yinyu:addEffect("active", {
  anim_type = "control",
  prompt = "#wu__yinyu",
  target_num = 1,
  can_use = function(self, player)
    return player:usedSkillTimes(wu__yinyu.name, Player.HistoryGame) == 0
  end,
  card_filter = Util.FalseFunc,
  target_filter = function(self, player, to_select, selected)
    return #selected == 0 and to_select ~= player
  end,

  on_use = function(self, room, effect)
    local player = effect.from
    local target = effect.tos[1]
    room:swapAllCards(player, { player, target }, wu__yinyu.name, "h")
  end,
})

return wu__yinyu